//
//  ZXTooController.m
//  ZXOCWeiBo
//
//  Created by mac on 15/11/29.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import "ZXTooController.h"
#import "ZXThreeController.h"

@interface ZXTooController ()

@end

@implementation ZXTooController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"two";
    
    self.view.backgroundColor = [UIColor redColor];
    
    

//    self.navigationItem.leftBarButtonItem = [UIBarButtonItem backItemWithTitle:@"首页" target:self action:@selector(back)];
}

//-(void)back
//{
//    //返回上一个控制器
//    [self.navigationController popViewControllerAnimated:YES];
//}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    ZXThreeController * three = [[ZXThreeController alloc]init];
    
    [self.navigationController pushViewController:three animated:YES];
}
@end
